package cn.wolfcode.car.mapper;

import cn.wolfcode.car.domain.RolePermission;
import cn.wolfcode.car.qo.RolePermissionQueryObject;

import java.util.List;

public interface RolePermissionMapper {
    int insert(RolePermission record);

    List<RolePermission> selectAll();

    List<RolePermission> selectForQo(RolePermissionQueryObject qo);

    List<RolePermission> listForLeftJoin();

    void deleteByRoleId(Long id);
}